package com.igor.reporting.dao.problem;

import java.util.List;

import org.apache.tapestry5.hibernate.annotations.CommitAfter;

import com.igor.reporting.entities.problem.Problem;

public interface ProblemDAO {

	@CommitAfter
	public void add(Problem p);

	@CommitAfter
	public void delete(Problem p);

	@CommitAfter
	public void update(Problem p);

	public Problem find(Long id);

	public List<Problem> findAll();

}
